<script src="<?php echo base_url();?>assets/js/ckeditor.js"></script>

            <div class="container">
				<div class="store-form">
				<div class="page-header" style="position:relative;">
					<h3>Edit Store</h3>
				</div>
					<?php echo form_open_multipart('store/updatedata/'. $hasil->toko_id,'class ="form-horizontal" ');?>
						<div class="control-group">
							<label class="control-label" for="nama_toko">Store Name</label>
							<div class="controls">
								<input type="text" name="nama_toko" value="<?php echo $hasil->nama_toko ?>" disabled class="input-xlarge"/>	
							</div>
						</div>
                        <hr />
                        <div class="control-group">
							<label class="control-label" for="judul_toko">Store Title</label>
							<div class="controls">
								<input type="text" name="judul_toko" value="<?php echo $hasil->judul_toko ?>" disabled class="input-xlarge"/>	
							</div>
						</div>
                        <hr />
						<div class="control-group">
							<label class="control-label" for="jenis_toko">Store Type</label>
							<div class="controls">
								<input type="text" name="jenis_toko" value="<?php echo $hasil->jenis_toko ?>" />	
							</div>
						</div>
                        <hr />
						<div class="control-group">
							<label class="control-label" for="logo">Logo</label>
							<div class="controls">
								<!--<input type="file" name="logo" value="<?php echo base_url();?>logo/<?php echo $hasil -> logo?>" />-->	
                                <?php if($hasil->logo == NULL){ ?>
                                	<img style="padding:3px; border:#666 1px solid; " width="80px" height="80px" src="/commerce/assets/img/no-image-100x100.png"/></td>
                            	<?php }else{ ?>
                            		<img style="padding:3px; border:#666 1px solid; " width="80px" height="80px" src="/commerce/data/thumb/<?php echo $hasil -> logo?>" />
                           		<?php } ?>
							</div>
						</div>
                        <hr />
						<div class="control-group">
							<label class="control-label" for="description">Description</label>
							<div class="controls">
                            <div style="width:700px;float:left;">
								<textarea name="description" class="ckeditor" ><?php echo $hasil->description ?></textarea>	
                            </div>
							</div>
						</div>
                        <hr />
						<div class="control-group">
							<label class="control-label" for="telepon">Telephone</label>
							<div class="controls">
								<input type="text" name="telepon" value="<?php echo $hasil->telepon ?>" disabled/>
							</div>
						</div>
                        <hr />
						<div class="control-group">
							<label class="control-label" for="hp">Hp</label>
							<div class="controls">
								<input type="text" name="hp" value="<?php echo $hasil->hp ?>" disabled/>	
							</div>
						</div>
                        <hr />
						<div class="control-group">
							<label class="control-label" for="alamat">Address</label>
							<div class="controls">
                            <div style="width:400px;float:left;">
								<textarea name="alamat" class="input-xlarge ckeditor" disabled><?php echo $hasil->alamat ?></textarea>
                            </div>	
							</div>
						</div>
                        <hr />
						<div class="control-group">
							<label class="control-label" for="kota">City</label>
							<div class="controls">
								<input type="text" name="kota" value="<?php echo $hasil->kota ?>" />	
							</div>
						</div>
                        <hr />
						<div class="control-group">
							<label class="control-label" for="provinsi">Region</label>
							<div class="controls">
								<input type="text" name="provinsi" value="<?php echo $hasil->provinsi ?>" />	
							</div>
						</div>
                        <hr />
						<div class="control-group">
							<label class="control-label" for="negara">Country</label>
							<div class="controls">
								<input type="text" name="negara" value="<?php echo $hasil->negara ?>" />	
							</div>
						</div>
                        <hr />
						<div class="control-group">
							<label class="control-label" for="kode_pos">Zip Code</label>
							<div class="controls">
								<input type="text" name="kode_pos" value="<?php echo $hasil->kode_pos ?>" />	
							</div>
						</div>
                        <hr />
                        <div class="control-group">
							<label class="control-label" for="status">Status</label>
							<div class="controls">
								<select name="status" class="input-medium">
									<?php if ($hasil->status) { ?>
                                        <option value="1" selected="selected">Active</option>
                                        <option value="0">Non Active</option>
                                    <?php } else { ?>
                                        <option value="1">Active</option>
                                        <option value="0" selected="selected">Non Active</option>
                                    <?php } ?>
                                </select>	
							</div>
						</div>
                        <div class="form-actions">
							<input class="btn btn-primary" id="submit" type="submit" value="Save Change" />
							<input class="btn" id="cancel" type="button" name="cancel" value="Cancel" onclick="self.history.back()" />
                        </div> 
					<?php form_close();?>	
				</div>
			</div>
<script type="text/javascript">
CKEDITOR.replace( 'alamat', {
	toolbar: []
});
</script>  				
		